from flask import Flask
from app.spider.job_spider import JobSpider

app = Flask(__name__)
job_data = JobSpider()

@app.get('/api')
def hello():
    return {
        'msg': '请求成功',
        'data': [200, 300, 300, 900, 1500, 1200, 600]
    }

if __name__ == '__main__':
    app.run(port=5000, debug=True)